package com.uzai.console.service.sys;

import com.uzai.console.dto.sys.datahandle.*;

/**
 * @author mingyang.chen create in 2022/10/8 11:22
 */
public interface DataHandleService {

    /**
     * 提现记录清除
     *
     * @param withdrawRecordCleanDto
     * @return
     */
    boolean withdrawRecordClean(WithdrawRecordCleanDto withdrawRecordCleanDto);

    /**
     * 历史提现记录处理
     *
     * @param withdrawRecordDealDto
     * @return
     */
    boolean withdrawRecordDeal(WithdrawRecordDealDto withdrawRecordDealDto);

    /**
     * 替换关键词
     *
     * @param keyWordsReplaceDto 关键词替换
     * @return
     */
    boolean keywordReplace(KeyWordsReplaceDto keyWordsReplaceDto);

    /**
     * 智能回复回复语替换关键词
     *
     * @param keyWordsReplaceDto 关键词替换
     * @return
     */
    boolean faqReplyKeywordReplace(KeyWordsReplaceDto keyWordsReplaceDto);

    /**
     * 添加自动清理订单状态的配置
     *
     * @param params
     * @return
     */
    boolean addAutoCleanOrderStatusConfig(AutoCleanOrderStatusDto params);

    /**
     * 获取自动清理订单状态的配置
     */
    Object getAutoCleanOrderStatusConfig(Long merId);

    /**
     * 清理订单状态
     *
     * @param params
     * @return
     */
    void cleanOrderStatus(CleanOrderStatusDto params);

    /**
     * 会员数据合并
     *
     * @param userDataMergeDto
     * @return
     */
    void userDataMerge(UserDataMergeDto userDataMergeDto);

    /**
     * 机器人数据迁移
     *
     * @param deviceDataTranferDto
     * @return
     */
    void deviceDateTransfer(DeviceDataTranferDto deviceDataTranferDto);


    /**
     * 会员标签处理
     *
     * @param userTagsHanderDto
     * @return
     */
    void userTagsHander(UserTagsHanderDto userTagsHanderDto);

    /**
     * 会员余额处理
     *
     * @param userBalanceHanderDto
     * @return
     */
    void userBalanceHander(UserBalanceHanderDto userBalanceHanderDto);

    /**
     * 历史订单处理
     *
     * @param historyOrderHanderDto
     * @return
     */
    void orderClean(HistoryOrderHanderDto historyOrderHanderDto);
}
